<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>消息详情</title>
<link href="${pageContext.request.contextPath }/static/css/tail.css"
	rel="stylesheet" type="text/css" />
<link
	href="${pageContext.request.contextPath }/static/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />

<script type="text/javascript"
	src="${pageContext.request.contextPath }/static/js/jquery.js"></script>
<script>
	function change() {
		var height01 = $(window).height();
		$(".top").css('height', height01 - 35 + "px");
	}
</script>
<link href="static/css/bootstrap.min.css" rel="stylesheet"
	type="text/css">
<link href="static/css/bootstrap-table.css" rel="stylesheet"
	type="text/css">
<link rel="stylesheet" href="static/css/base.css" />
<link rel="stylesheet" href="static/css/info-mgt.css" />
<style type="text/css">
h2 {
	background-color: #f9f9f9;
	text-align: center;
	font-weight: bold;
	color: #46647e;
	line-height: 40px;
}
</style>
</head>

<body style="border-radius: 8px" onload="enblur()">

	<form id="form_demo" action="addCp_Com.html" method="post">
		<h2>薪酬标准制定</h2>
		<div class="top" style="height: 500px">
			<div>
				<table class="table">

					<tr>
						<td>薪酬标准编号:<i class="i_start"></i></td>
						<td><input type="text" id="em_number" name="em_number"
							value="${em.em_number}" readonly="readonly" /><font color="red"></font></td>
						<td>薪酬标准名称:<i class="i_start"></i></td>
						<td><select id="em_name" name="em_name">
								<option value="0">请选择</option>
								<c:forEach var="po" items="${position}">
									<option value="${po.id }"
										<c:if test="${po.id==em.em_name}"> selected="selected"   </c:if>>${po.position_name }</option>
								</c:forEach>
						</select> 												
						<font color="red"></font></td>

						<td>薪酬总额:<i class="i_start"></i></td>
						<td><input type="text" id="em_totalmoney"
							name="em_totalmoney" readonly="readonly" /></td>
					</tr>
					<tr>
						<td>制定人:<i class="i_start"></i></td>
						<td><input type="hidden" id="em_maker" name="em_maker"
							value="<%-- ${user.id} --%>${em.em_maker}" /> <input type="text"
							id="em_maker_name" name="em_maker_name"
							value="<%-- ${user.userName} --%>${em.em_maker}"
							readonly="readonly" /></td>
						<td>登记人:<i class="i_start"></i></td>
						<td><input type="hidden" id="em_handlers" name="em_handlers"
							value="<%-- ${user.id} --%>${em.em_handlers}" /> <input
							type="text" id="em_handlers_name" name="em_handlers_name"
							value="<%-- ${user.userName} --%>${em.em_handlers}"
							readonly="readonly" /></td>
						<td>登记时间:<i class="i_start"></i></td>
						<td><input type="text" name="em_registrationtime"
							id="em_registrationtime" value="${em.em_registrationtime} "
							readonly="readonly" /></td>

						<script>
							    $(document)
									.ready(
											function() {
												var time = new Date();
												var day = ("0" + time.getDate())
														.slice(-2);
												var month = ("0" + (time
														.getMonth() + 1))
														.slice(-2);
												var today = time.getFullYear()
														+ "-" + (month) + "-"
														+ (day);
												$('#em_registrationtime').val(
														today);
											})
						</script>
					</tr>
					<tr>
						<td>基本工资:<i class="i_start"></i></td>
						<td><input type="text" name="em_basemoney" id="em_basemoney"
							value="${em.em_basemoney}" /><font color="red"></font></td>
						<td>住房补助:<i class="i_start"></i></td>
						<td><input type="text" name="em_housingmoney"
							id="em_housingmoney" value="${em.em_housingmoney}" /><font
							color="red"></font></td>
						<td>餐补:<i class="i_start"></i></td>
						<td><input type="text" name="em_mealmaoney"
							id="em_mealmaoney" value="${em.em_mealmaoney}" /><font
							color="red"></font></td>
					</tr>
					<tr>


					</tr>
					<tr>
						<td>审核原因:<i class="i_start"></td>
						<td><textarea rows="50%" cols="40" id="ot_audit"
								name="ot_audit">${em.cp_Operation.ot_audit}</textarea><font
							color="red"></font></td>
						<td>驳回原因:</td>
						<td><textarea rows="50%" cols="40" readonly="readonly">${em.cp_Operation.ot_reject}</textarea></td>
					</tr>
				</table>
			</div>
		</div>
		<div class="bot_btn">
			<input class="btn" value="添加" id="add" /> <input class="btn"
				value="提交审核" id="audit" />
			<a class="btn"   href="cp_index.html"   style="padding-top: 5px">返回</a>
		</div>
		</div>
	</form>
</body>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/static/js/jquery.js"></script>


<script src="${pageContext.request.contextPath }/static/js/laydate.js"></script>
<script
	src="${pageContext.request.contextPath }/static/js/compensation/salary_add.js"></script>
<script
	src="${pageContext.request.contextPath }/static/js/bootstrap.min.js"></script>
<script
	src="${pageContext.request.contextPath }/static/js/bootstrap-table.js"></script>
<script
	src="${pageContext.request.contextPath }/static/js/bootstrap-table-zh-CN.min.js"></script>

<script
	src="${pageContext.request.contextPath }/static/js/date/js/laydate.js"></script>
<script src="${pageContext.request.contextPath }/static/js/layer.js"></script>


</html>